package com.Thread02.demo01;

import java.util.concurrent.ArrayBlockingQueue;

public class Demo01 {
    public static void main(String[] args) {
        ArrayBlockingQueue<String> list = new ArrayBlockingQueue<>(1);
        Cooker01 c = new Cooker01(list);
        Foodie01 f = new Foodie01(list);
        c.start();
        f.start();
    }
}
